package com.study.springcloud.domain;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Author chaos-supreme(混沌至尊):raoluping
 * @Date 2017/10/27 13:28
 * @ProjectName springcloudfather
 * @Description
 */

public class UserDomain implements Serializable {
    private static final long serialVersionUID = -2485043500570220853L;


    private Long userId; // 自增长的用户ID

    private String userName; // 用户名

    private String phone; // 手机号码

    private String email; // 邮箱

    private String password; // 密码(切记切记，生产环境记得不要用明文存储哦)

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
